package com.itheima.service;

import com.itheima.pojo.vo.ArticleDTO;
import com.itheima.pojo.vo.CategoryArticleCountDTO;
import com.itheima.pojo.vo.CommentDTO;
import com.itheima.pojo.vo.MonthlyArticleCountDTO;

import java.util.List;

/**
 * @Author: Insight
 * @Description: TODO
 * @Date: 2024-06-11 20:12
 * @Version: 1.0
 */

public interface DashBoardService {

    Integer countNewsTotal();

    Integer countUsersTotal();

    Integer countCommentsTotal();

    Integer countDaliyCommentsTotal();

    List<MonthlyArticleCountDTO> getMonthlyArticleCounts();

    List<CategoryArticleCountDTO> getrateArticles();

    List<ArticleDTO> getLatestArticles();

    List<CommentDTO> getLatestComments();
}
